home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
RIGHTSTR.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
363b
|
13 lines
right_str(int x, char *str, char *new_str)
/* This will take the right x number of character from the string pointed
to by *str and place them into the string pointed to by *new_str.
*/
{
str=str + strlen(str) - x;
while(*str) {
*new_str=*str;
new_str++; str++;
}
*new_str=0x00;
}